//路由对应关系
//导入处理函数
const user_handeler = require('../router_hanbler/user_hanbler');
const express = require('express');
const router = express.Router();

router.post('/login', user_handeler.login)

router.post('/register', user_handeler.register)

//获得用户信息
router.get('/userinfo', user_handeler.getinfo)

//修改用户信息
router.post('/userupdate', user_handeler.update)
module.exports = router;